<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			
			#general{
				width: 100%;
				height: 500px;
				display: flex;
				justify-content: center;
			}
			#external{
				width: 600px;
				height: 500px;
				overflow: hidden;
			}
			#imgid{
				width: 1700px;
				height: 200px;
				margin-top: 200px;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			#imgid img{
				width: 100px;
				height: 100px;
			}
		</style>
	</head>
	<body>
		<div id="general">
			<div id="external">
				<div id="imgid" onmouseenter="EnterImg();" onmouseleave="LeaveImg();">
					<img src="img/lunbo/1.jpeg" >
					<img src="img/lunbo/2.jpeg" >
					<img src="img/lunbo/3.jpeg" >
					<img src="img/lunbo/4.jpeg" >
					<img src="img/lunbo/5.jpeg" >
					<img src="img/lunbo/6.jpeg" >
					<img src="img/lunbo/7.jpeg" >
					<img src="img/lunbo/8.jpeg" >
					<img src="img/lunbo/9.jpeg" >
					<img src="img/lunbo/10.jpeg" >
					<img src="img/lunbo/11.jpeg" >
					<img src="img/lunbo/1.jpeg" >
					<img src="img/lunbo/2.jpeg" >
					<img src="img/lunbo/3.jpeg" >
					<img src="img/lunbo/4.jpeg" >
					<img src="img/lunbo/5.jpeg" >
					<img src="img/lunbo/6.jpeg" >
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript">
		var imgidObj = document.getElementById('imgid');
		var marginleft = 0;
		var bb = null;
		function Going(){
			if (marginleft == -1100) {
				marginleft = 0;
			}
			marginleft --;
			imgidObj.style.marginLeft = marginleft + 'px';
			if (marginleft % 100 == 0) {
				clearInterval(aa);
				bb = setTimeout(function(){
					aa = setInterval(Going,50)
				},1000)
			}
		}
		
		function EnterImg(){
			clearInterval(aa);
			clearInterval(bb);
		}
		function LeaveImg(){
			aa = setInterval(Going,50)
		}
		
		onload = function(){
			aa = setInterval(Going,50)
		}
	</script>
</html>
